package com.ruoyi.system.domain.po;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 零售明细
 */
@Data
@Validated
public class RetailDetailPO {

    @NotNull
    private Integer materielId;

    /**
     * 物资编码
     */
    @NotBlank
    private String materielCode;

    @NotNull
    private BigDecimal number;

}
